/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bgu.sonar.util.async;

/**
 *
 * @author bennyl
 */
public interface Callback<T> {
    void onFailed(Exception ex, boolean interrupted);
    void onSuccess(T res);
}
